<!DOCTYPE html>
<html lang="en">


{include file="Public/head"}

<body data-type="widgets">
<div class="container">
    <div style="page-break-after: always;">
        <h1 class="text-center">订单信息</h1>
        <table class="table table-bordered">
            <thead>
            <tr>
                <td>发送自</td>
                <td colspan="2">订单详情</td>
            </tr>
            </thead>
            <tbody>
            <tr>
                <td><address><strong>茶商城</strong></address>
                    <b>电话:</b> 15812345678<br>
                    <b>E-Mail:</b> 123@qq.com<br>
                    <b>网址:</b> <a href=""></a>
                </td>
                <td>
                    <b>下单日期:</b>{$order.add_time|date='Y-m-d H:i:s',###}<br>
                    <b>订单号:</b>{$order.order_sn}<br>
                    <b>支付方式:</b>{$order.pay_name}<br>
                    <b>配送方式:</b>{$order.shipping_name}<br>
                    <b>订单总价:</b>{$order.total_amount}</td>
                <td>
                    <b>商品价格:</b> {$order.goods_price}<br>
                    <b>商品价格:</b> {$order.goods_price}<br>
                    <b>配送费用:</b> {$order.shipping_price}<br>
                    <b>应付金额:</b> {$order.order_amount}</td>
            </tr>
            </tbody>
        </table>
        <table class="table table-bordered">
            <thead>
            <tr>
                <td colspan="4"><b>收货信息</b></td>
            </tr>
            <tr><td>收件人</td><td>联系电话</td><td>收货地址</td><td>邮编</td></tr>
            </thead>
            <tbody>
            <tr>
                <td>{$order.consignee}</td>
                <td>{$order.mobile}</td>
                <td>{$province.name} {$city.name} {$district.name} {$order.address}</td>
                <td>{$order.zipcode}</td>
            </tr>
            </tbody>
        </table>
        <table class="table table-bordered">
            <thead>
            <tr>
                <td><b>商品名称</b></td>
                <td><b>商品货号</b></td>
                <td><b>规格属性</b></td>
                <td><b>数量</b></td>
                <td><b>单价</b></td>
                <td class="text-right"><b>小计</b></td>
            </tr>
            </thead>
            <tbody>
            {foreach name = "order_goods" key="k" item="v"}
            <tr>
                <td>{$v.goods_name}</td>
                <td>{$v.goods_sn}</td>
                <td>{$v.spec_key_name}</td>
                <td>{$v.goods_num}</td>
                <td>{$v.member_goods_price}</td>
                <td class="text-right">{$v.member_goods_price*$v.goods_num}</td>
            </tr>
            {/foreach}
            </tbody>
            <tfoot>
            <tr><td colspan="6" class="text-center"><input class="btn btn-default noprint" type="submit" onclick="window.print();" value="打印"></td></tr>
            </tfoot>
        </table>
    </div>
</div>
</div>

</body>

<script>

</script>
</html>